/**
 * 绑定从属关系
 * @param {*} sequelize
 */
function applyExtraSetup(sequelize) {
  const { instrument, orchestra } = sequelize.models;

  orchestra.hasMany(instrument);
  instrument.belongsTo(orchestra);
}

module.exports = { applyExtraSetup };
